package com.nidu.demo.user.event;

import com.nidu.demo.user.model.UserCreatedEvent;
import lombok.RequiredArgsConstructor;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
@RequiredArgsConstructor
public class UserCreateEventHandler {

    @EventListener
    public void handledeptChanged(UserCreatedEvent event) {
        // 发送欢迎短信
    }

}
